package com.shph.validation.rule.impl;

import com.shph.validation.rule.IRule;

/**
 * Object非空校验实现类
 */
public class ObjectEmptyRule implements IRule<Object> {
    @Override
    public boolean test(Object value, String refValue) {
        return value == null ? true : false;
    }
}
